package com.ssy.lingxi.system.dto.response;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class MiddlegroundMenuResponse {
    @ApiModelProperty("下级权限菜单集合")
    List<MiddlegroundMenuResponse>  children;
    /**
     * 菜单ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long key;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称")
    private String title;


    /**
     * 前端URL
     */
    @ApiModelProperty(value = "菜单连接")
    private String path;

    /**
     * 父菜单ID
     */
    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;

    /**
     * 菜单描述
     */
    @ApiModelProperty(value = "菜单描述")
    private String  menuDescribe;
    /**
     * 排序值
     */
    @ApiModelProperty(value = "排序值")
    private Integer sort;

    /**
     * 菜单类型（1=菜单,2=按钮）
     */
    @ApiModelProperty(value = "菜单类型（1=菜单,2=按钮）")
    private Integer type;

    /**
     * 状态(1=正常，0=删除)
     */
    @ApiModelProperty(value = "状态(1=正常，0=删除)")
    private Integer state;

    public List<MiddlegroundMenuResponse> getChildren() {
        return children;
    }

    public void setChildren(List<MiddlegroundMenuResponse> children) {
        this.children = children;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getMenuDescribe() {
        return menuDescribe;
    }

    public void setMenuDescribe(String menuDescribe) {
        this.menuDescribe = menuDescribe;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
